﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Astoman.Silverlight
{
    public class OverviewWidget : ContentControl
    {
        
        #region DependencyProperty 'Title'
        /// <summary>
        /// sets or gets the Title
        /// </summary>
        public String Title
        {
            get { return (String)this.GetValue(TitleProperty); }
            set { this.SetValue(TitleProperty, value); }
        }
        /// <summary>
        /// DependencyProperty Title
        /// </summary>
        public static readonly DependencyProperty TitleProperty = DependencyProperty.Register(
            "Title",
            typeof(String),
            typeof(OverviewWidget),
            new PropertyMetadata(null)
        );
        #endregion

        #region DependencyProperty 'ContentMinimized'
        /// <summary>
        /// sets or gets the ContentMinimized
        /// </summary>
        public Object ContentMinimized
        {
            get { return (Object)this.GetValue(ContentMinimizedProperty); }
            set { this.SetValue(ContentMinimizedProperty, value); }
        }
        /// <summary>
        /// DependencyProperty ContentMinimized
        /// </summary>
        public static readonly DependencyProperty ContentMinimizedProperty = DependencyProperty.Register(
            "ContentMinimized",
            typeof(Object),
            typeof(OverviewWidget),
            //new PropertyMetadata(null, OnContentMinimizedPropertyChanged)
            new PropertyMetadata(null)
        );
        #endregion

    }
}
